SGI2FAX

Section: User Commands (1)
Updated: May 12, 1993
Index Return to Main Contents
 

NAME

sgi2fax - convert a Silicon Graphics image file for facsimile transmission  

SYNOPSIS

${LIBEXEC}/sgi2fax [ -12 ] [ -lm ] [ -r %red ] [ -g %green ] [ -b %blue ] [ -o output-file ] [ -s pagesize-name ] [ -v ] files...  

DESCRIPTION

Sgi2fax is used to convert Silicon Graphics format images to bilevel TIFF Class F images in preparation for transmission as facsimile. Sgi2fax is not normally invoked directly, but as a result of supplying an SGI image file to sendfax(1).

Images are converted by scaling them to fill the guaranteed reproduceable area on a default page. Each RGB pixel p is converted to greyscale according to:


     pr * %r + pg * %g + pb * %b
where %r, %g, and %b default to 30, 59, and 11, respectively. Greyscale images are passed through a high pass filter and dithered to a bilevel image. The resultant images are written as a TIFF Class F document.

By default, output has a horizontal resolution of 204 dpi and a vertical resolution of 98 lines/inch. The vertical resolution can be doubled with the -m option. The -l option specifies the default, 98 lpi, resolution.

The -r, -g, and -b options can be used to specify alternate percentages to use in converting color values to greyscale.

By default, sgi2fax will write the output to a file named sgi.fax. An alternate name can be specified with the -o option.

By default, the output image is encoded using Group 3 1D encoding. 1D or 2D encoding can be specified with the -1 and -2 options, respectively.

A non-default page size can be specified with the -s option.  

FILES

${LIBDATA}/pagesizes  page size database
 

SEE ALSO

flexfax(1), sendfax(1), intro(4F)


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 10:15:15 GMT, January 04, 2023